package com.im.immodel.config

import com.hotpot.uikit.secret.msgholder.SystemTopTipViewHolder
import com.hotpot.uikit.talk.config.listener.IMViewHolderProxy
import com.hotpot.uikit.talk.msgholder.*
import com.hotpot.uikit.view.imlist.IMViewHolder

class IMViewHolderPresenter1 : IMViewHolderProxy {
    override fun getViewHolderItem(): List<IMViewHolder> {
        val imViewHolders = mutableListOf<IMViewHolder>()
        imViewHolders.add(AudioViewHolder())
        imViewHolders.add(CancelViewHolder())
        imViewHolders.add(CardViewHolder())
        imViewHolders.add(DingViewHolder())
        imViewHolders.add(DocViewHolder1())
        imViewHolders.add(ImageViewHolder())
        imViewHolders.add(LocationViewHolder())
        imViewHolders.add(NoticeViewHolder())
        imViewHolders.add(ReplyViewHolder())
        imViewHolders.add(ShareMeetingViewHolder())
        imViewHolders.add(SystemViewHolder())
        imViewHolders.add(TouchViewHolder())
        imViewHolders.add(TextViewHolder())
        imViewHolders.add(VideocallViewHolder())
        imViewHolders.add(VideoViewHolder())
        imViewHolders.add(VoiceViewHolder())
        imViewHolders.add(JoinViewHolder())
        imViewHolders.add(ActiveExitViewHolder())
        imViewHolders.add(InviteViewHolder())
        imViewHolders.add(InitiateGroupViewHolder())
        imViewHolders.add(PassiveExitViewHolder())
        imViewHolders.add(TransferOwnViewHolder())
        imViewHolders.add(ScanQrcodeViewHolder())
        imViewHolders.add(MergeViewHolder())
        imViewHolders.add(NoticeReplyViewHolder())
        imViewHolders.add(InviteCompanyViewHolder())
        imViewHolders.add(NotFriendViewHolder())
        imViewHolders.add(HyperlinksViewHolder())
        //imViewHolders.add(ApproveViewHolder())
        //imViewHolders.add(ApprovelExplainViewHolder())
        return imViewHolders
    }

    override fun getSecretViewHolderItem(): List<IMViewHolder> {
        val imViewHolders = mutableListOf<IMViewHolder>()
        imViewHolders.add(com.hotpot.uikit.secret.msgholder.AudioViewHolder())
        imViewHolders.add(com.hotpot.uikit.secret.msgholder.CancelViewHolder())
        imViewHolders.add(com.hotpot.uikit.secret.msgholder.ImageViewHolder())
        imViewHolders.add(SystemTopTipViewHolder())
        imViewHolders.add(com.hotpot.uikit.secret.msgholder.SystemViewHolder())
        imViewHolders.add(com.hotpot.uikit.secret.msgholder.TextViewHolder())
        imViewHolders.add(com.hotpot.uikit.secret.msgholder.VideoViewHolder())
        return imViewHolders
    }
}